<template>
  <div id="app">
    <Header></Header>
    <main-box></main-box>
  </div>
</template>

<script>
import Header from "./components/Header.vue";
import MainBox from "./components/MainBox.vue";
export default {
  name: "app",
  components: {
    Header,
    MainBox,
  },
};
</script>

<style scoped>
#app {
  /* 高度不指定，如果指定那么就会有组件超出界限 */
  position: relative;
  width: 100%;
  height: 100%;
  overflow: auto;
  /* height: 13.5rem; */
  line-height: 1.15;
  background: url("../public/images/bg.jpg") no-repeat;
  background-size: 100% 100%;
}
</style>
